@@ -13,6 +13,7 @@ my %module_build_args = (
'File::Temp' => '0',
'File::pushd' => '0',
'FindBin' => '0',
+ 'JSON' => '0',
'Module::Build' => '0.3601',
'Path::Class' => '0',
'Test::DZil' => '0',
@@ -29,7 +30,7 @@ my %module_build_args = (
'Kent Fredric <kentnl@cpan.org>'
],
'dist_name' => 'Dist-Zilla-PluginBundle-Author-KENTNL',
- 'dist_version' => '1.0.12',
+ 'dist_version' => '1.0.14',
'license' => 'perl',
'module_name' => 'Dist::Zilla::PluginBundle::Author::KENTNL',
'recommends' => {},
@@ -39,7 +40,7 @@ my %module_build_args = (
'Class::Load' => '0',
'Dist::Zilla' => '4.101612',
'Dist::Zilla::File::FromCode' => '0',
- 'Dist::Zilla::Plugin::AutoPrereqs' => '0',
+ 'Dist::Zilla::Plugin::AutoPrereqs' => '4.200011',
'Dist::Zilla::Plugin::AutoVersion::Relative' => '0.01035617',
'Dist::Zilla::Plugin::CompileTests' => '1.110930',
'Dist::Zilla::Plugin::ConfirmRelease' => '0',
@@ -1,5 +1,31 @@
Revision history for Dist-Zilla-PluginBundle-Author-KENTNL
+1.0.14 2011-07-18T21:23:49Z
+ [Bugs]
+ - Reworked handling of auto_prereqs_skip not to carp needlessly.
+
+ [Features]
+ - Can use multiple values of auto_prereqs_skip now.
+ - Now stricter about flags passed to detect typos.
+ - Minted dists now have an example auto_prereqs_skip
+
+ [Tests]
+ - Minter test now tests auto_prereq generation and the auto_prereqs_skip
+ flag.
+
+1.0.13 2011-07-17T01:06:15Z
+ [Bugs]
+ - Fixed an issue where the change of Dzil's Autoprereqs 'skip' parameter
+ started taking an array instead, by using an array. ( External interface
+ is still the same though )
+
+ [Dependencies]
+ - Dist::Zilla 4.200011 is now the minimum requirement, as that has the
+ adjusted Autoprereqs
+
+ [Packaging]
+ - Web metadata now uses HTTPS:// urls.
+
1.0.12 2011-07-12T09:57:41Z
[Dependencies::Tests]
- Version explicit dependency added to Test::File::ShareDir 0.3.0 which is
@@ -4,7 +4,7 @@
"Kent Fredric <kentnl@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200008, CPAN::Meta::Converter version 2.110930",
+ "generated_by" : "Dist::Zilla version 4.200011, CPAN::Meta::Converter version 2.110930",
"license" : [
"perl_5"
],
@@ -42,7 +42,7 @@
"Class::Load" : 0,
"Dist::Zilla" : "4.101612",
"Dist::Zilla::File::FromCode" : 0,
- "Dist::Zilla::Plugin::AutoPrereqs" : 0,
+ "Dist::Zilla::Plugin::AutoPrereqs" : "4.200011",
"Dist::Zilla::Plugin::AutoVersion::Relative" : "0.01035617",
"Dist::Zilla::Plugin::CompileTests" : "1.110930",
"Dist::Zilla::Plugin::ConfirmRelease" : 0,
@@ -105,6 +105,7 @@
"File::Temp" : 0,
"File::pushd" : 0,
"FindBin" : 0,
+ "JSON" : 0,
"Path::Class" : 0,
"Test::DZil" : 0,
"Test::Fatal" : 0,
@@ -117,82 +118,83 @@
"provides" : {
"Dist::Zilla::MintingProfile::Author::KENTNL" : {
"file" : "lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm",
- "version" : "v1.0.12"
+ "version" : "v1.0.14"
},
"Dist::Zilla::Plugin::Author::KENTNL::DistINI" : {
"file" : "lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm",
- "version" : "v1.0.12"
+ "version" : "v1.0.14"
},
"Dist::Zilla::PluginBundle::Author::KENTNL" : {
"file" : "lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm",
- "version" : "v1.0.12"
+ "version" : "v1.0.14"
}
},
"release_status" : "stable",
"resources" : {
- "homepage" : "http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL",
+ "homepage" : "https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL",
"repository" : {
"type" : "git",
- "url" : "http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL",
- "web" : "http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL"
+ "url" : "https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL",
+ "web" : "https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL"
}
},
- "version" : "1.0.12",
+ "version" : "1.0.14",
"x_BuiltWith" : {
"modules" : {
"Capture::Tiny" : "0.11",
"Carp" : "1.20",
"Class::Load" : "0.06",
- "Dist::Zilla" : "4.200008",
- "Dist::Zilla::File::FromCode" : "4.200008",
- "Dist::Zilla::Plugin::AutoPrereqs" : "4.200008",
+ "Dist::Zilla" : "4.200011",
+ "Dist::Zilla::File::FromCode" : "4.200011",
+ "Dist::Zilla::Plugin::AutoPrereqs" : "4.200011",
"Dist::Zilla::Plugin::AutoVersion::Relative" : "0.01060309",
"Dist::Zilla::Plugin::Bootstrap::lib" : "0.01023600",
"Dist::Zilla::Plugin::CompileTests" : "1.110930",
- "Dist::Zilla::Plugin::ConfirmRelease" : "4.200008",
+ "Dist::Zilla::Plugin::ConfirmRelease" : "4.200011",
"Dist::Zilla::Plugin::CriticTests" : "1.111450",
"Dist::Zilla::Plugin::EOLTests" : "0.02",
- "Dist::Zilla::Plugin::ExtraTests" : "4.200008",
- "Dist::Zilla::Plugin::FakeRelease" : "4.200008",
- "Dist::Zilla::Plugin::GatherDir" : "4.200008",
+ "Dist::Zilla::Plugin::ExtraTests" : "4.200011",
+ "Dist::Zilla::Plugin::FakeRelease" : "4.200011",
+ "Dist::Zilla::Plugin::GatherDir" : "4.200011",
"Dist::Zilla::Plugin::Git::Check" : "1.111590",
"Dist::Zilla::Plugin::Git::CommitBuild" : "1.111590",
"Dist::Zilla::Plugin::Git::NextVersion" : "1.111590",
"Dist::Zilla::Plugin::Git::Tag" : "1.111590",
- "Dist::Zilla::Plugin::GithubMeta" : "0.12",
+ "Dist::Zilla::Plugin::GithubMeta" : "0.16",
"Dist::Zilla::Plugin::KwaliteeTests" : "1.101420",
- "Dist::Zilla::Plugin::License" : "4.200008",
- "Dist::Zilla::Plugin::Manifest" : "4.200008",
- "Dist::Zilla::Plugin::ManifestSkip" : "4.200008",
- "Dist::Zilla::Plugin::MetaConfig" : "4.200008",
+ "Dist::Zilla::Plugin::License" : "4.200011",
+ "Dist::Zilla::Plugin::Manifest" : "4.200011",
+ "Dist::Zilla::Plugin::ManifestSkip" : "4.200011",
+ "Dist::Zilla::Plugin::MetaConfig" : "4.200011",
"Dist::Zilla::Plugin::MetaData::BuiltWith" : "0.01018204",
- "Dist::Zilla::Plugin::MetaJSON" : "4.200008",
+ "Dist::Zilla::Plugin::MetaJSON" : "4.200011",
"Dist::Zilla::Plugin::MetaProvides" : "1.12060501",
"Dist::Zilla::Plugin::MetaProvides::Package" : "1.12060501",
- "Dist::Zilla::Plugin::MetaTests" : "4.200008",
- "Dist::Zilla::Plugin::MetaYAML" : "4.200008",
- "Dist::Zilla::Plugin::ModuleBuild" : "4.200008",
- "Dist::Zilla::Plugin::PkgVersion" : "4.200008",
- "Dist::Zilla::Plugin::PodCoverageTests" : "4.200008",
- "Dist::Zilla::Plugin::PodSyntaxTests" : "4.200008",
+ "Dist::Zilla::Plugin::MetaTests" : "4.200011",
+ "Dist::Zilla::Plugin::MetaYAML" : "4.200011",
+ "Dist::Zilla::Plugin::ModuleBuild" : "4.200011",
+ "Dist::Zilla::Plugin::PkgVersion" : "4.200011",
+ "Dist::Zilla::Plugin::PodCoverageTests" : "4.200011",
+ "Dist::Zilla::Plugin::PodSyntaxTests" : "4.200011",
"Dist::Zilla::Plugin::PodWeaver" : "3.101641",
- "Dist::Zilla::Plugin::Prereqs" : "4.200008",
- "Dist::Zilla::Plugin::PruneCruft" : "4.200008",
+ "Dist::Zilla::Plugin::Prereqs" : "4.200011",
+ "Dist::Zilla::Plugin::PruneCruft" : "4.200011",
"Dist::Zilla::Plugin::ReadmeFromPod" : "0.14",
"Dist::Zilla::Plugin::ReportVersions::Tiny" : "1.03",
"Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.005",
- "Dist::Zilla::Plugin::TestRelease" : "4.200008",
+ "Dist::Zilla::Plugin::TestRelease" : "4.200011",
"Dist::Zilla::Plugin::Twitter" : "0.010",
- "Dist::Zilla::Plugin::UploadToCPAN" : "4.200008",
+ "Dist::Zilla::Plugin::UploadToCPAN" : "4.200011",
"Dist::Zilla::PluginBundle::Author::KENTNL" : "NA(undef)",
"Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "1.0.6",
- "Dist::Zilla::Role::FileGatherer" : "4.200008",
- "Dist::Zilla::Role::MintingProfile::ShareDir" : "4.200008",
- "Dist::Zilla::Role::PluginBundle" : "4.200008",
+ "Dist::Zilla::Role::FileGatherer" : "4.200011",
+ "Dist::Zilla::Role::MintingProfile::ShareDir" : "4.200011",
+ "Dist::Zilla::Role::PluginBundle" : "4.200011",
"File::Temp" : "0.22",
"File::pushd" : "1.00",
"FindBin" : "1.50",
"IO::Socket::SSL" : "1.44",
+ "JSON" : "2.53",
"LWP::Protocol::https" : "6.02",
"Module::Build" : "0.38",
"Moose" : "2.001",
@@ -201,10 +203,10 @@
"MooseX::Types" : "0.27",
"Net::SSLeay" : "1.36",
"Path::Class" : "0.24",
- "Pod::Coverage::TrustPod" : "0.100000",
+ "Pod::Coverage::TrustPod" : "0.100001",
"String::Formatter" : "0.102082",
"Test::CPAN::Meta" : "0.18",
- "Test::DZil" : "4.200008",
+ "Test::DZil" : "4.200011",
"Test::EOL" : "0.9",
"Test::Fatal" : "0.006",
"Test::File::ShareDir" : "0.3.0",
@@ -234,32 +236,32 @@
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@Author::KENTNL/GatherDir",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::KENTNL/MetaConfig",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Author::KENTNL/PruneCruft",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@Author::KENTNL/GithubMeta",
- "version" : "0.12"
+ "version" : "0.16"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::KENTNL/License",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Author::KENTNL/PkgVersion",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -274,17 +276,17 @@
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::KENTNL/MetaJSON",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::KENTNL/MetaYAML",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
"name" : "@Author::KENTNL/ModuleBuild",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeFromPod",
@@ -294,17 +296,17 @@
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Author::KENTNL/ManifestSkip",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::KENTNL/Manifest",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::KENTNL/AutoPrereqs",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -315,7 +317,7 @@
}
},
"name" : "@Author::KENTNL/Prereqs/BundleDevelNeeds",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -326,7 +328,7 @@
}
},
"name" : "@Author::KENTNL/Prereqs/BundleDevelRecommends",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -337,7 +339,7 @@
}
},
"name" : "@Author::KENTNL/Prereqs/BundleDevelSuggests",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::MetaData::BuiltWith",
@@ -378,17 +380,17 @@
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@Author::KENTNL/MetaTests",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Author::KENTNL/PodCoverageTests",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::KENTNL/PodSyntaxTests",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
@@ -408,17 +410,17 @@
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@Author::KENTNL/ExtraTests",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::KENTNL/TestRelease",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::KENTNL/ConfirmRelease",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -428,7 +430,7 @@
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::KENTNL/NextRelease",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -453,7 +455,7 @@
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::KENTNL/UploadToCPAN",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Twitter",
@@ -463,7 +465,7 @@
{
"class" : "Dist::Zilla::Plugin::ModuleShareDirs",
"name" : "ModuleShareDirs",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -474,7 +476,7 @@
}
},
"name" : "DevelopRequires",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -485,37 +487,37 @@
}
},
"name" : "Prereqs",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200008"
+ "version" : "4.200011"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.200008"
+ "version" : "4.200011"
}
],
"zilla" : {
@@ -523,7 +525,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200008"
+ "version" : "4.200011"
}
}
}
@@ -9,6 +9,7 @@ build_requires:
File::Temp: 0
File::pushd: 0
FindBin: 0
+ JSON: 0
Module::Build: 0.3601
Path::Class: 0
Test::DZil: 0
@@ -19,7 +20,7 @@ build_requires:
configure_requires:
Module::Build: 0.3601
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200008, CPAN::Meta::Converter version 2.110930'
+generated_by: 'Dist::Zilla version 4.200011, CPAN::Meta::Converter version 2.110930'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -28,19 +29,19 @@ name: Dist-Zilla-PluginBundle-Author-KENTNL
provides:
Dist::Zilla::MintingProfile::Author::KENTNL:
file: lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm
- version: v1.0.12
+ version: v1.0.14
Dist::Zilla::Plugin::Author::KENTNL::DistINI:
file: lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm
- version: v1.0.12
+ version: v1.0.14
Dist::Zilla::PluginBundle::Author::KENTNL:
file: lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm
- version: v1.0.12
+ version: v1.0.14
requires:
Carp: 0
Class::Load: 0
Dist::Zilla: 4.101612
Dist::Zilla::File::FromCode: 0
- Dist::Zilla::Plugin::AutoPrereqs: 0
+ Dist::Zilla::Plugin::AutoPrereqs: 4.200011
Dist::Zilla::Plugin::AutoVersion::Relative: 0.01035617
Dist::Zilla::Plugin::CompileTests: 1.110930
Dist::Zilla::Plugin::ConfirmRelease: 0
@@ -94,64 +95,65 @@ requires:
Test::EOL: 0.9
namespace::autoclean: 0.09
resources:
- homepage: http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL
- repository: http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL
-version: 1.0.12
+ homepage: https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL
+ repository: https://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL
+version: 1.0.14
x_BuiltWith:
modules:
Capture::Tiny: 0.11
Carp: 1.20
Class::Load: 0.06
- Dist::Zilla: 4.200008
- Dist::Zilla::File::FromCode: 4.200008
- Dist::Zilla::Plugin::AutoPrereqs: 4.200008
+ Dist::Zilla: 4.200011
+ Dist::Zilla::File::FromCode: 4.200011
+ Dist::Zilla::Plugin::AutoPrereqs: 4.200011
Dist::Zilla::Plugin::AutoVersion::Relative: 0.01060309
Dist::Zilla::Plugin::Bootstrap::lib: 0.01023600
Dist::Zilla::Plugin::CompileTests: 1.110930
- Dist::Zilla::Plugin::ConfirmRelease: 4.200008
+ Dist::Zilla::Plugin::ConfirmRelease: 4.200011
Dist::Zilla::Plugin::CriticTests: 1.111450
Dist::Zilla::Plugin::EOLTests: 0.02
- Dist::Zilla::Plugin::ExtraTests: 4.200008
- Dist::Zilla::Plugin::FakeRelease: 4.200008
- Dist::Zilla::Plugin::GatherDir: 4.200008
+ Dist::Zilla::Plugin::ExtraTests: 4.200011
+ Dist::Zilla::Plugin::FakeRelease: 4.200011
+ Dist::Zilla::Plugin::GatherDir: 4.200011
Dist::Zilla::Plugin::Git::Check: 1.111590
Dist::Zilla::Plugin::Git::CommitBuild: 1.111590
Dist::Zilla::Plugin::Git::NextVersion: 1.111590
Dist::Zilla::Plugin::Git::Tag: 1.111590
- Dist::Zilla::Plugin::GithubMeta: 0.12
+ Dist::Zilla::Plugin::GithubMeta: 0.16
Dist::Zilla::Plugin::KwaliteeTests: 1.101420
- Dist::Zilla::Plugin::License: 4.200008
- Dist::Zilla::Plugin::Manifest: 4.200008
- Dist::Zilla::Plugin::ManifestSkip: 4.200008
- Dist::Zilla::Plugin::MetaConfig: 4.200008
+ Dist::Zilla::Plugin::License: 4.200011
+ Dist::Zilla::Plugin::Manifest: 4.200011
+ Dist::Zilla::Plugin::ManifestSkip: 4.200011
+ Dist::Zilla::Plugin::MetaConfig: 4.200011
Dist::Zilla::Plugin::MetaData::BuiltWith: 0.01018204
- Dist::Zilla::Plugin::MetaJSON: 4.200008
+ Dist::Zilla::Plugin::MetaJSON: 4.200011
Dist::Zilla::Plugin::MetaProvides: 1.12060501
Dist::Zilla::Plugin::MetaProvides::Package: 1.12060501
- Dist::Zilla::Plugin::MetaTests: 4.200008
- Dist::Zilla::Plugin::MetaYAML: 4.200008
- Dist::Zilla::Plugin::ModuleBuild: 4.200008
- Dist::Zilla::Plugin::PkgVersion: 4.200008
- Dist::Zilla::Plugin::PodCoverageTests: 4.200008
- Dist::Zilla::Plugin::PodSyntaxTests: 4.200008
+ Dist::Zilla::Plugin::MetaTests: 4.200011
+ Dist::Zilla::Plugin::MetaYAML: 4.200011
+ Dist::Zilla::Plugin::ModuleBuild: 4.200011
+ Dist::Zilla::Plugin::PkgVersion: 4.200011
+ Dist::Zilla::Plugin::PodCoverageTests: 4.200011
+ Dist::Zilla::Plugin::PodSyntaxTests: 4.200011
Dist::Zilla::Plugin::PodWeaver: 3.101641
- Dist::Zilla::Plugin::Prereqs: 4.200008
- Dist::Zilla::Plugin::PruneCruft: 4.200008
+ Dist::Zilla::Plugin::Prereqs: 4.200011
+ Dist::Zilla::Plugin::PruneCruft: 4.200011
Dist::Zilla::Plugin::ReadmeFromPod: 0.14
Dist::Zilla::Plugin::ReportVersions::Tiny: 1.03
Dist::Zilla::Plugin::Test::CPAN::Changes: 0.005
- Dist::Zilla::Plugin::TestRelease: 4.200008
+ Dist::Zilla::Plugin::TestRelease: 4.200011
Dist::Zilla::Plugin::Twitter: 0.010
- Dist::Zilla::Plugin::UploadToCPAN: 4.200008
+ Dist::Zilla::Plugin::UploadToCPAN: 4.200011
Dist::Zilla::PluginBundle::Author::KENTNL: NA(undef)
Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 1.0.6
- Dist::Zilla::Role::FileGatherer: 4.200008
- Dist::Zilla::Role::MintingProfile::ShareDir: 4.200008
- Dist::Zilla::Role::PluginBundle: 4.200008
+ Dist::Zilla::Role::FileGatherer: 4.200011
+ Dist::Zilla::Role::MintingProfile::ShareDir: 4.200011
+ Dist::Zilla::Role::PluginBundle: 4.200011
File::Temp: 0.22
File::pushd: 1.00
FindBin: 1.50
IO::Socket::SSL: 1.44
+ JSON: 2.53
LWP::Protocol::https: 6.02
Module::Build: 0.38
Moose: 2.001
@@ -160,10 +162,10 @@ x_BuiltWith:
MooseX::Types: 0.27
Net::SSLeay: 1.36
Path::Class: 0.24
- Pod::Coverage::TrustPod: 0.100000
+ Pod::Coverage::TrustPod: 0.100001
String::Formatter: 0.102082
Test::CPAN::Meta: 0.18
- Test::DZil: 4.200008
+ Test::DZil: 4.200011
Test::EOL: 0.9
Test::Fatal: 0.006
Test::File::ShareDir: 0.3.0
@@ -188,27 +190,27 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::GatherDir
name: '@Author::KENTNL/GatherDir'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::KENTNL/MetaConfig'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Author::KENTNL/PruneCruft'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::KENTNL/GithubMeta'
- version: 0.12
+ version: 0.16
-
class: Dist::Zilla::Plugin::License
name: '@Author::KENTNL/License'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Author::KENTNL/PkgVersion'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@Author::KENTNL/PodWeaver'
@@ -220,15 +222,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::KENTNL/MetaJSON'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::KENTNL/MetaYAML'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::ModuleBuild
name: '@Author::KENTNL/ModuleBuild'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::ReadmeFromPod
name: '@Author::KENTNL/ReadmeFromPod'
@@ -236,15 +238,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Author::KENTNL/ManifestSkip'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::KENTNL/Manifest'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::KENTNL/AutoPrereqs'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -252,7 +254,7 @@ x_Dist_Zilla:
phase: develop
type: requires
name: '@Author::KENTNL/Prereqs/BundleDevelNeeds'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -260,7 +262,7 @@ x_Dist_Zilla:
phase: develop
type: recommends
name: '@Author::KENTNL/Prereqs/BundleDevelRecommends'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -268,7 +270,7 @@ x_Dist_Zilla:
phase: develop
type: suggests
name: '@Author::KENTNL/Prereqs/BundleDevelSuggests'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::MetaData::BuiltWith
config:
@@ -300,15 +302,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::KENTNL/MetaTests'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Author::KENTNL/PodCoverageTests'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::KENTNL/PodSyntaxTests'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@Author::KENTNL/ReportVersions::Tiny'
@@ -324,15 +326,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@Author::KENTNL/ExtraTests'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::KENTNL/TestRelease'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::KENTNL/ConfirmRelease'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Git::Check
name: '@Author::KENTNL/Git::Check'
@@ -340,7 +342,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::KENTNL/NextRelease'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@Author::KENTNL/Git::Tag/tag_master'
@@ -360,7 +362,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::KENTNL/UploadToCPAN'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Twitter
name: '@Author::KENTNL/Twitter'
@@ -368,7 +370,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::ModuleShareDirs
name: ModuleShareDirs
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -376,7 +378,7 @@ x_Dist_Zilla:
phase: develop
type: requires
name: DevelopRequires
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -384,33 +386,33 @@ x_Dist_Zilla:
phase: runtime
type: requires
name: Prereqs
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200008
+ version: 4.200011
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.200008
+ version: 4.200011
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200008
+ version: 4.200011
@@ -3,7 +3,7 @@ NAME
build your distributions.
VERSION
- version 1.0.12
+ version 1.0.14
SYNOPSIS
[@Author::KENTNL]
@@ -28,7 +28,7 @@ Dist::Zilla::Plugin::Bootstrap::lib = 0
[Prereqs]
Dist::Zilla = 4.101612
-Dist::Zilla::Plugin::AutoPrereqs = 0
+Dist::Zilla::Plugin::AutoPrereqs = 4.200011 ; skip takes an array
Dist::Zilla::Plugin::AutoVersion::Relative = 0.01035617
Dist::Zilla::Plugin::CompileTests = 1.110930 ; Avoid rt #67183
Dist::Zilla::Plugin::CriticTests = 1.102280
@@ -3,7 +3,7 @@ use warnings;
package Dist::Zilla::MintingProfile::Author::KENTNL;
BEGIN {
- $Dist::Zilla::MintingProfile::Author::KENTNL::VERSION = '1.0.12';
+ $Dist::Zilla::MintingProfile::Author::KENTNL::VERSION = '1.0.14';
}
# ABSTRACT: KENTNL's Minting Profile
@@ -26,7 +26,7 @@ Dist::Zilla::MintingProfile::Author::KENTNL - KENTNL's Minting Profile
=head1 VERSION
-version 1.0.12
+version 1.0.14
=head1 SYNOPSIS
@@ -3,7 +3,7 @@ use warnings;
package Dist::Zilla::Plugin::Author::KENTNL::DistINI;
BEGIN {
- $Dist::Zilla::Plugin::Author::KENTNL::DistINI::VERSION = '1.0.12';
+ $Dist::Zilla::Plugin::Author::KENTNL::DistINI::VERSION = '1.0.14';
}
# ABSTRACT: Generate a C<dist.ini> for @Author::KENTNL projects.
@@ -53,6 +53,7 @@ sub gather_files {
'; version_rel_hour = %{rel_hour}n', #
'; version_rel_time_zone = %{tz}s', #
'twitter_hash_tags = %{tags}s', #
+ '; auto_prereqs_skip = File::Find', #
$empty, #
'[Prereqs]', #
$empty, #
@@ -114,7 +115,7 @@ Dist::Zilla::Plugin::Author::KENTNL::DistINI - Generate a C<dist.ini> for @Autho
=head1 VERSION
-version 1.0.12
+version 1.0.14
=head1 SYNOPSIS
@@ -3,7 +3,7 @@ use warnings;
package Dist::Zilla::PluginBundle::Author::KENTNL;
BEGIN {
- $Dist::Zilla::PluginBundle::Author::KENTNL::VERSION = '1.0.12';
+ $Dist::Zilla::PluginBundle::Author::KENTNL::VERSION = '1.0.14';
}
# ABSTRACT: BeLike::KENTNL when you build your distributions.
@@ -60,7 +60,7 @@ sub _mk_only {
return () if exists $ENV{ 'KENTNL_NO' . $envname };
return @rest unless defined $args;
return @rest unless ref $args eq 'HASH';
- return @rest unless exists $args->{ 'no' . $argfield };
+ return @rest unless exists $args->{ 'no_' . $argfield };
return ();
};
{
@@ -106,16 +106,59 @@ sub _if_git_versions {
return @{$else};
}
+sub _params_list {
+ return (
+ qw( :version auto_prereqs_skip git_versions twitter_only release_fail no_cpan no_git no_twitter twitter_hash_tags twitter_extra_hash_tags ),
+ ( map { 'version_' . $_ } qw( major minor ), ( map { 'rel_' . $_ } qw( year month day hour time_zone ) ) ),
+ qw( relea0se_fail )
+ );
+}
+
+sub _param_checker {
+ my $_self = shift;
+
+ my %params_hash = map { $_ => 1 } $_self->_params_list;
+
+ return sub {
+
+ my ( $self, $param ) = @_;
+ if ( not exists $params_hash{$param} ) {
+ require Carp;
+ Carp::croak("[Author::KENTNL] Parameter $param doesn't appear to be supported");
+ }
+
+ };
+}
+
+
+sub mvp_multivalue_args { return qw( auto_prereqs_skip ) }
+
sub bundle_config {
my ( $self, $section ) = @_;
my $class = ( ref $self ) || $self;
- my $arg = $section->{payload};
+ my $arg = $section->{payload};
+
my $twitter_conf = { hash_tags => _defined_or( $arg, twitter_hash_tags => '#perl #cpan' ) };
- my $extra_hash = _defined_or( $arg, twitter_extra_hash_tags => q{}, 1 );
+ my $extra_hash = _defined_or( $arg, twitter_extra_hash_tags => q{}, 1 );
$twitter_conf->{hash_tags} .= q{ } . $extra_hash if $extra_hash;
my $warn_no_git = _if_git_versions( $arg, [1], [0] );
+ my $checker = $self->_param_checker;
+
+ for my $param ( keys %{$arg} ) {
+ $checker->( $self, $param );
+ }
+
+ if ( not defined $arg->{auto_prereqs_skip} ) {
+ $arg->{auto_prereqs_skip} = [];
+ }
+
+ if ( not ref $arg->{auto_prereqs_skip} eq 'ARRAY' ) {
+ require Carp;
+ Carp::carp('[Author::KENTNL] auto_prereqs_skip is expected to be an array ref');
+ }
+
my @config = map { _expand( $class, $_->[0], $_->[1] ) } (
[
_if_git_versions(
@@ -148,7 +191,7 @@ sub bundle_config {
[ 'ReadmeFromPod' => {} ],
[ 'ManifestSkip' => {} ],
[ 'Manifest' => {} ],
- [ 'AutoPrereqs' => { skip => _defined_or( $arg, auto_prereqs_skip => q{}, 1 ) } ],
+ [ 'AutoPrereqs' => { skip => $arg->{auto_prereqs_skip} } ],
[
'Prereqs' => {
-name => 'BundleDevelNeeds',
@@ -222,7 +265,7 @@ Dist::Zilla::PluginBundle::Author::KENTNL - BeLike::KENTNL when you build your d
=head1 VERSION
-version 1.0.12
+version 1.0.14
=head1 SYNOPSIS
@@ -305,6 +348,8 @@ same as twitter_only=1
same as release_fail=1
+=for Pod::Coverage mvp_multivalue_args
+
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
@@ -53,7 +53,7 @@ eval { $v .= pmver('Carp','any version') };
eval { $v .= pmver('Class::Load','any version') };
eval { $v .= pmver('Dist::Zilla','4.101612') };
eval { $v .= pmver('Dist::Zilla::File::FromCode','any version') };
-eval { $v .= pmver('Dist::Zilla::Plugin::AutoPrereqs','any version') };
+eval { $v .= pmver('Dist::Zilla::Plugin::AutoPrereqs','4.200011') };
eval { $v .= pmver('Dist::Zilla::Plugin::AutoVersion::Relative','0.01035617') };
eval { $v .= pmver('Dist::Zilla::Plugin::Bootstrap::lib','any version') };
eval { $v .= pmver('Dist::Zilla::Plugin::CompileTests','1.110930') };
@@ -103,6 +103,7 @@ eval { $v .= pmver('File::Temp','any version') };
eval { $v .= pmver('File::pushd','any version') };
eval { $v .= pmver('FindBin','any version') };
eval { $v .= pmver('IO::Socket::SSL','any version') };
+eval { $v .= pmver('JSON','any version') };
eval { $v .= pmver('LWP::Protocol::https','6.00') };
eval { $v .= pmver('Module::Build','0.3601') };
eval { $v .= pmver('Moose','1.01') };
@@ -6,6 +6,7 @@ use Test::More;
use FindBin;
use Path::Class qw( dir );
use Test::Output qw();
+use JSON qw( from_json );
my ( $root, $corpus, $global );
@@ -15,7 +16,7 @@ BEGIN {
$global = $corpus->subdir('global');
}
-$ENV{'GIT_AUTHOR_NAME'} = $ENV{'GIT_COMMITTER_NAME'} = 'Anon Y. Mus';
+$ENV{'GIT_AUTHOR_NAME'} = $ENV{'GIT_COMMITTER_NAME'} = 'Anon Y. Mus';
$ENV{'GIT_AUTHOR_EMAIL'} = $ENV{'GIT_COMMITTER_EMAIL'} = 'anonymus@example.org';
use Test::File::ShareDir 0.3.0 -share =>
@@ -24,10 +25,10 @@ use Test::DZil;
my $tzil;
-
subtest 'mint files' => sub {
- $tzil = Minter->_new_from_profile( [ 'Author::KENTNL' => 'default' ], { name => 'DZT-Minty', }, { global_config_root => $global }, );
+ $tzil =
+ Minter->_new_from_profile( [ 'Author::KENTNL' => 'default' ], { name => 'DZT-Minty', }, { global_config_root => $global }, );
pass('Loaded minter config');
@@ -84,6 +85,56 @@ subtest 'build minting' => sub {
pass("Got minted dir");
+ subtest 'Mangle minted dist.ini for experimental purposes' => sub {
+
+ my $old = $tmpdir->file('dist.ini');
+ my $new = $tmpdir->file('dist.ini.new');
+ my $distini = $old->openr();
+ my $newdistini = $new->openw();
+
+ while ( defined( my $line = <$distini> ) ) {
+ print $newdistini $line;
+ if ( $line =~ /auto_prereqs_skip/ ) {
+ note "Found skip line: ", explain( { line => $line } );
+ pass "Found skip line: $.";
+ print $newdistini "auto_prereqs_skip = Bogus\n";
+ print $newdistini "auto_prereqs_skip = OtherBogus\n";
+ }
+ }
+
+ close $distini;
+ close $newdistini;
+
+ $old->remove();
+
+ rename "$new", "$old" or fail("Can't rename $new to $old");
+
+ };
+
+ subtest 'Create fake pm with deps to be ignored' => sub {
+
+ my $fn = $tmpdir->subdir('lib')->subdir('DZT')->file('Mintiniator.pm');
+ my $fh = $fn->openw();
+
+ print $fh <<'EOF';
+use strict;
+use warnings;
+package DZT::Mintiniator;
+
+# ABSTRACT: Test package to test auto prerequisites skip behaviour
+
+if(0){ # Stop it actually failing
+ require Bogus;
+ require OtherBogus;
+ require SomethingReallyWanted;
+}
+
+1;
+EOF
+
+ pass('Generated file');
+ };
+
my $bzil = Builder->from_config( { dist_root => $tmpdir }, {}, { global_config_root => $global }, );
pass("Loaded builder configuration");
@@ -111,17 +162,20 @@ subtest 'build minting' => sub {
};
}
);
- if ( defined $exception ) {
- note explain $@;
+ note explain { 'output was' => { out => $stdout, err => $stderr } };
+
+ if ( defined $exception ) {
+ note explain $exception;
+
# system("urxvt -e bash"); # XXX DEVELOPMENT
die $@;
}
- note explain { 'output was' => { out => $stdout, err => $stderr } };
# system("find",$bzil->tempdir );
my %expected_files = map { $_ => 1 } qw(
lib/DZT/Minty.pm
+ lib/DZT/Mintiniator.pm
weaver.ini
perlcritic.rc
Changes
@@ -146,10 +200,12 @@ subtest 'build minting' => sub {
);
my %got_files;
+ my %got_files_refs;
for my $file ( @{ $bzil->files } ) {
my $name = $file->name;
$got_files{$name} = 0 if not exists $got_files{$name};
$got_files{$name} += 1;
+ $got_files_refs{$name} = $file;
}
note explain { got => \%got_files, expected => \%expected_files };
@@ -158,7 +214,38 @@ subtest 'build minting' => sub {
is_deeply( \%got_files, \%expected_files, 'All expected mint files exist' );
+ my $data = from_json( dir( $bzil->tempdir )->subdir('build')->file('META.json')->slurp() );
+
+ note explain $data;
+
+ is_deeply(
+ $data->{prereqs},
+ {
+ build => { requires => { 'Module::Build' => '0.3601' }, },
+ configure => { requires => { 'Module::Build' => '0.3601' }, },
+ develop => {
+ recommends => { 'Dist::Zilla::PluginBundle::Author::KENTNL::Lite' => '0.01009803' },
+ requires => { 'Dist::Zilla::PluginBundle::Author::KENTNL::Lite' => 0 },
+ suggests => { 'Dist::Zilla::PluginBundle::Author::KENTNL' => 'v1.0.0' },
+ },
+ runtime => {
+ requires => {
+ 'Moose' => 0,
+ 'SomethingReallyWanted' => 0,
+ },
+ },
+ test => {
+ requires => {
+ 'English' => 0,
+ 'File::Find' => 0,
+ 'File::Temp' => 0,
+ 'Test::More' => '0.88',
+ },
+ }
+ },
+ 'Autodetected pre-reqs are sane'
+ );
+
};
done_testing;
-